(function() {
  'use strict';

  angular
    .module('vboxApp')
    .config(routeConfig);

  /** @ngInject */
  function routeConfig($urlRouterProvider,$stateProvider) {
    $urlRouterProvider.otherwise('/app/dashboard/summary');
    $stateProvider
      .state('app', {
        url: '/app',
        templateUrl: 'app/components/layout/app.html',
        abstract: true
      });
  }
})();
